import tensorflow as tf

width = tf.placeholder("int32", name='wdith')
height = tf.placeholder("int32", name='height')
area = tf.multiply(width, height, name='area')

with tf.Session() as sess:
    init = tf.global_variables_initializer()
    sess.run(init)
    print("area=", sess.run(area, feed_dict={width: 6, height: 8}))

tf.summary.merge_all()
tran_writer = tf.summary.FileWriter('D:\\ProgramData\\Anaconda3\Lib\\site-packages\\tensorboard\\log\\area', sess.graph)
